home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20041116-20060924 / 000221_mattsf@example.com_Wed Dec 14 17:38:19 2005.msg < prev    next >
Internet Message Format  |  2006-09-27  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.linkpendium.com!news.linkpendium.com!news.glorb.com!newspeer1.asbnva01.us.to.verio.net!129.250.35.102.MISMATCH!newsread1.mlpsca01.us.to.verio.net.POSTED!53ab2750!not-for-mail
  2. From: Matt SF <mattsf@example.com>
  3. User-Agent: Thunderbird 1.5 (Windows/20051025)
  4. MIME-Version: 1.0
  5. Newsgroups: comp.protocols.kermit.misc
  6. Subject: Re: c-kermit8 and slow http downloads
  7. References: <adZnf.57226$Tf5.41708@newsread1.mlpsca01.us.to.verio.net> <slrndq0tn0.77a.fdc@sesame.cc.columbia.edu>
  8. In-Reply-To: <slrndq0tn0.77a.fdc@sesame.cc.columbia.edu>
  9. Content-Type: text/plain; charset=ISO-8859-1; format=flowed
  10. Content-Transfer-Encoding: 7bit
  11. Lines: 31
  12. Message-ID: <_f0of.57237$Tf5.29719@newsread1.mlpsca01.us.to.verio.net>
  13. Date: Wed, 14 Dec 2005 13:36:58 -0800
  14. NNTP-Posting-Host: 207.20.85.157
  15. X-Complaints-To: abuse@verio.net
  16. X-Trace: newsread1.mlpsca01.us.to.verio.net 1134596218 207.20.85.157 (Wed, 14 Dec 2005 21:36:58 GMT)
  17. NNTP-Posting-Date: Wed, 14 Dec 2005 21:36:58 GMT
  18. Organization: NTT/VERIO
  19. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15468
  20.  
  21. Frank da Cruz wrote:
  22. > I invite anybody who feels like an afternoon of fun to take a look at the
  23. > routine http_get() in ckcnet.c.  It's best if you look at the current working
  24. > version of the code:
  25. >   http://www.columbia.edu/kermit/ckdaily.html
  26. > A quick glance at the code shows there are two scenarios: chunked and
  27. > non-chunked.  The server announces which method to use.  The non-chunked
  28. > method looks like it might be really slow.  Suggestion: add a debug() clause
  29. > here:
  30. >             } else if (!ckstrcmp(buf,"Transfer-Encoding:",18,0)) {
  31. >                 if ( ckindex("chunked",buf,18,0,0) != 0 )
  32. >                     chunked = 1;
  33. >             }
  34. > to see which method was used.  If non-chunked, probably what's needed is
  35. > a whole new layer of buffering.
  36. > - Frank
  37.  
  38. Frank and Jeffrey, thanks for replying!  I thought it might be something 
  39.   along those lines like a change to the buffering code.  Alas, this is 
  40. way beyond my ability.  :)
  41.  
  42. I'll just keep an eye on the c-kermit development and see what happens. 
  43.   Meanwhile, it works great for the small automated ftp transfers I have 
  44. to do a few days a week.  Thanks for all your work on the project!
  45.  
  46. -Matt